@(elements: helper.FieldElements)

@**************************************************
* Generate input according twitter bootsrap rules *
**************************************************@
    <div class="control-group @if(elements.hasErrors) {error}">
      <label class="control-label" for="@elements.id">@elements.label</label>
      <div class="controls">
        @elements.input
        @if(elements.hasErrors) {
        <span class="help-inline">@elements.errors.mkString(", ")</span>
        }
        <span class="help-block">@elements.infos.mkString(", ")</span>
      </div>
    </div>
